<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-tiles"
	prefix="tiles"%>
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet"
	href="<%=request.getContextPath()%>/css/style.css">
<script language="JavaScript"
	src="<%=request.getContextPath()%>/js/util.js"></script>
<title><tiles:insert flush="false" attribute="title" /></title>
</head>
<body>
<f:view>
	<f:loadBundle basename="resource.bundle.messages" var="messages" />
	<h:form>
		<h:inputHidden value="#{agentBean.init}"></h:inputHidden>
		<rich:panel header="#{messages['agent.registration.reject']}">
		
			<t:panelGrid width="100%">
					<t:outputText value="#{messages['ack.agent.registration.reject']}" styleClass="standardText_Label"></t:outputText>
			</t:panelGrid>
			
			<t:panelGrid columns="2" columnClasses="standardTable_ColumnLeft_20,standardTable_ColumnLeft_80" width="100%">
			
				<t:outputText value="#{messages['registration.no']}" styleClass="standardText_Label"></t:outputText>
				<t:outputText value="#{agentBean.agent.agentRegNo}" styleClass="standardText_Label"></t:outputText>
				
				<t:outputText value="#{messages['reason']}" styleClass="standardText_Label"></t:outputText>
				<t:outputText value="#{agentBean.agent.reason}" styleClass="standardText_Label"></t:outputText>
			
				<t:outputText></t:outputText>
				<t:commandButton styleClass="button" value="#{messages['back']}" action="logout"></t:commandButton>
			</t:panelGrid>
		</rich:panel>
	</h:form>
</f:view>
</body>
</html>